package com.ctrip.demo.test;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Getter
@NoArgsConstructor
@Slf4j
public class NoticeKV {
    private String key;
    private String value;
    private String color;

    public NoticeKV(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "NoticeKV{" +
                "key='" + key + '\'' +
                ", value='" + value + '\'' +
                ", color='" + color + '\'' +
                '}';
    }
}
